import com.sun.javaws.IconUtil;

import java.util.Random;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 30318
 * Date: 2023-10-17
 * Time: 17:11
 */
public class RandomMonth {
    public static void main(String[] args) {
        Random random = new Random();
        int monthNumber = random.nextInt(12) + 1;

        String month;
        switch (monthNumber) {
            case 1:
                month = "January";
                break;
            case 2:
                month = "February";
                break;
            case 3:
                month = "March";
                break;
            case 4:
                month = "April";
                break;
            case 5:
                month = "May";
                break;
            case 6:
                month = "June";
                break;
            case 7:
                month = "July";
                break;
            case 8:
                month = "August";
                break;
            case 9:
                month = "September";
                break;
            case 10:
                month = "October";
                break;
            case 11:
                month = "November";
                break;
            case 12:
                month = "December";
                break;
            default:
                month = "Input incorrect number";
        }
        System.out.println("The month number is: " + monthNumber);
        System.out.println("The month EnglishName is: " + month);
    }
}
